package com.zgm.zen.visitor.example2;


public class Manager extends Employee {

	private String performance;
	
	public String getPerformance() {
		return performance;
	}

	public void setPerformance(String performance) {
		this.performance = performance;
	}

	@Override
	public void accept(IVisitor visitor){
		visitor.visit(this);
	}
	/*@Override
	protected String getOtherInfo() {
		return "业绩：" + this.performance + "\t";
	}*/

	
	
}
/*public class Manager extends Employee {

	private String performance;
	
	public String getPerformance() {
		return performance;
	}

	public void setPerformance(String performance) {
		this.performance = performance;
	}

	@Override
	protected String getOtherInfo() {
		return "业绩：" + this.performance + "\t";
	}

	
	
}*/
